package org.example.factorymethod;

import lombok.Data;

@Data
public class ProductA implements IProduct{
    private String tag;
    private String color;
    @Override
    public IProduct putColor() {
        this.setColor("red");
        return this;
    }

    @Override
    public IProduct putTag() {
        this.setTag("good");
        return this;
    }
}
